package com.service.manage;

import java.util.List;

import com.po.Permission;
import com.po.Role;


public interface RoleService {

	public List<Role> getRole(Role role);
	
	public int getRoleCount(Role role);
	
	public int addRole(Role role);
	
	public int delRole(Role role);
	
	public int updateRole(Role role);
	
	public int delRoles(String[] roleids);
	
	
	
	public int addRolePermission(List<Role> role);
	
	public int delRolePermission(Role role);
	
	public List<Role> getRolePermission(Role role);
	
	
	public List<Permission> getPermissionList();
	public List<Role> getRolePermissionList(Role role);
	
	
	
	public List<Role> getRoleListN();
	public String getRoleID(String role_name);

}
